<%= form_for(@tour) do |f| %>
  <% if @tour.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@tour.errors.count, "error") %> prohibited this tour from being saved:</h2>

      <ul>
      <% @tour.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :tour_type_id %><br />
    <%= f.number_field :tour_type_id %>
  </div>
  <div class="field">
    <%= f.label :tour_name_idn %><br />
    <%= f.text_field :tour_name_idn %>
  </div>
  <div class="field">
    <%= f.label :tour_name_eng %><br />
    <%= f.text_field :tour_name_eng %>
  </div>
  <div class="field">
    <%= f.label :days %><br />
    <%= f.number_field :days %>
  </div>
  <div class="field">
    <%= f.label :night %><br />
    <%= f.number_field :night %>
  </div>
  <div class="field">
    <%= f.label :transport_eng %><br />
    <%= f.text_field :transport_eng %>
  </div>
  <div class="field">
    <%= f.label :transport_idn %><br />
    <%= f.text_field :transport_idn %>
  </div>


  <div class="field">
    <%= f.label :inclusion %><br />
    <%= f.text_field :inclusion %>
  </div>
  <div class="field">
    <%= f.label :exclusion %><br />
    <%= f.text_field :exclusion %>
  </div>


  <div class="field">
    <%= f.label :idr_price %><br />
    <%= f.number_field :idr_price %>
  </div>
  <div class="field">
    <%= f.label :usd_price %><br />
    <%= f.number_field :usd_price %>
  </div>
  <div class="field">
    <%= f.label :idr_promotion_price %><br />
    <%= f.number_field :idr_promotion_price %>
  </div>
  <div class="field">
    <%= f.label :usd_promotion_price %><br />
    <%= f.number_field :usd_promotion_price %>
  </div>
  <div class="field">
    <%= f.label :is_published %><br />
    <%= f.check_box :is_published %>
  </div>
  <div class="field">
    <%= f.label :is_on_promoted %><br />
    <%= f.check_box :is_on_promoted %>
  </div>
  <div class="field">
    <%= f.label :is_recomended %><br />
    <%= f.check_box :is_recomended %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
